package com.qiniuyun.threedgenerator.service;

import com.qiniuyun.threedgenerator.dto.TextGenerationRequest;
import com.qiniuyun.threedgenerator.entity.ModelHistory;

import java.util.List;
import java.util.Optional;

public interface ModelGenerationService {

    ModelHistory generateModel(TextGenerationRequest request, Long userId);

    ModelHistory updateModelFeedback(Long historyId, Integer rating, String feedback, Long userId);

    List<ModelHistory> getUserModelHistory(Long userId);

    Optional<ModelHistory> getModelHistoryById(Long id, Long userId);

    List<ModelHistory> getAllModelHistory();
}